package org.hdax.dm.client;

import org.hdax.dm.entity.cinema.DmCinema;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient(name = "dm-item-provider")
public interface DmCinemaClient {

    @PostMapping(path = "/findByDmCinema")
    List<DmCinema> findByDmCinema(@RequestBody DmCinema dmCinema);
}
